<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
		    $i=0;
			function dg()
		        {
		         if($i<10)
				    {
						document.write( $i+++"<br>");
						dg();
		            }
		        }
		    dg();
		</script>
	</head>
	<body>
	</body>
</html>